package com.itheima.feign;


import com.itheima.domain.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(value = "provider-server")
public interface GoodsFeignClient {
    @GetMapping("/provider/{id}")
    public Goods findOne(@PathVariable("id") String id);
}
